Survey.Survey.cssType = "bootstrap";
//3
var surveyJSON = {
	locale: "zh-cn",
	pages: [{
			name: "page4",
			elements: [{
					type: "text",
					isRequired: true,
					name: "是否同意接受该调查",
					title: {
						"zh-cn": "是否同意接受该调查"
					}
				},
				{
					type: "text",
					isRequired: true,
					name: "填表人签名",
					title: {
						"zh-cn": "本人签名"
					}
				},
				{
					type: "text",
					name: "填表人联系电话",
					title: {
						"zh-cn": "联系电话"
					},
					"isRequired": true,
					"validators": [{
						"type": "text",
						"minLength": 11,
						"maxLength": 11,
						"allowDigits": true,
						"text": "电话号码长度应该为11"
					}]
				},

				{
					type: "text",
					isRequired: true,
					name: "填表人填写日期",
					title: {
						"zh-cn": "填写日期"
					},
					inputType: "date"
				},
				{
					type: "text",
					isRequired: true,
					name: "登录账号",
					title: "问卷id",
					visible: false,
					"defaultValue": "1"
				},
				{
					type: "text",
					isRequired: true,
					name: "_id",
					title: "调查员id",
					visible: false,
					"defaultValue": "11"
				},

				// 2
				{
					type: "text",
					name: "问卷类型",
					title: {
						"zh-cn": "问卷类型"
					},
					readOnly: true,
					"defaultValue": "C"
				},
				{
					type: "panel",
					name: "采样地址",
					elements: [{
							type: "text",
							name: "所在的省",
							isRequired: true,
							title: "所在的省"
						},
						{
							type: "text",
							name: "所在的市",
							title: "所在的市",
							isRequired: true
						},
						{
							type: "text",
							name: "所在的县或区",
							title: "所在的县或区",
							isRequired: true
						},
					]
				},
				//3
				{
					type: "text",
					isRequired: true,
					name: "姓名",
					title: {
						"zh-cn": "姓名"
					}
				},
				{
					type: "text",
					isRequired: true,
					name: "性别",
					title: {
						"zh-cn": "性别"
					}
				},
				{
					type: "text",
					isRequired: true,
					name: "出生日期",
					title: {
						"zh-cn": "出生日期"
					},
					inputType: "date",
					placeHolder: "年/月/日"
				},
				{
					type: "text",
					isRequired: true,
					name: "身份证号码",
					title: {
						"zh-cn": "身份证号码"
					},
					isRequired: true,
					"validators": [{
						"type": "text",
						"text": "身份证字段长度应该为18",
						"minLength": 18,
						"maxLength": 18,
						"allowDigits": true
					}],
				},
				{
					type: "text",
					isRequired: true,
					name: "身高",
					title: "身高（cm）",
					inputType: "number",
					placeHolder: "cm"
				},
				{
					type: "text",
					isRequired: true,
					name: "体重",
					title: "体重（kg）",
					inputType: "number",
					placeHolder: "kg"
				},
				{
					type: "text",
					isRequired: true,
					name: "民族",
					title: "民族"
				},

				{
					type: "panel",
					name: "户籍地址",
					elements: [{
							type: "text",
							name: "户籍地址所在的省",
							isRequired: true,
							title: "户籍地址所在的省"
						},
						{
							type: "text",
							name: "户籍地址所在的市",
							title: "户籍地址所在的市",
							isRequired: true
						},
						{
							type: "text",
							name: "户籍地址所在的县(区)",
							title: "户籍地址所在的县(区)",
							isRequired: true,
						},
					]
				},
				{
					type: "text",
					name: "户籍地址所在的镇(乡)",
					title: "户籍地址所在的镇(乡)",
					isRequired: true
				},
				{
					type: "text",
					name: "户籍地址所在的街道(村)",
					title: "户籍地址所在的街道(村)",
					isRequired: true
				},
				{
					type: "text",
					name: "户籍地址所在的居委会(组)",
					title: "户籍地址所在的居委会(组)",
					isRequired: true
				},
				{
					type: "panel",
					name: "现居住址",

					elements: [{
							type: "text",
							name: "现居住址所在的省",
							isRequired: true,
							title: "现居住址所在的省"
						},
						{
							type: "text",
							name: "现居住址所在的市",
							title: "现居住址所在的市",
							isRequired: true
						},
						{
							type: "dropdown",
							name: "现居住址所在的县(区)",
							title: "现居住址所在的县(区)",
							isRequired: true
						},
					]
				},
				{
					type: "text",
					name: "现居住址所在的镇(乡)",
					title: "现居住址所在的镇(乡)",
					isRequired: true
				},
				{
					type: "text",
					name: "现居住址所在的街道(村)",
					title: "现居住址所在的街道(村)",
					isRequired: true
				},
				{
					type: "text",
					name: "现居住址所在的居委会(组)",
					title: "现居住址所在的居委会(组)",
					isRequired: true
				},

				{
					type: "text",
					isRequired: true,
					name: "家庭人口数",
					title: "家庭人口数(人)",
					inputType: "number",
					placeHolder: "人"
				},
				{
					type: "text",
					isRequired: true,
					name: "婚姻",
					title: "婚姻"
				},
				{
					type: "text",
					isRequired: true,
					name: "文化程度",
					title: "文化程度"
				},
				{
					type: "text",
					isRequired: true,
					name: "职业",
					title: "职业"
				},
				{
					type: "text",
					isRequired: true,
					name: "家庭人均月收入",
					title: "家庭人均月收入"
				},
				{
					type: "text",
					isRequired: true,
					name: "医保类型（可多选）",
					title: {
						default: "主要医疗付费方式（可多选）",
						"zh-cn": "医保类型（可多选）"
					}
				},
				{
					type: "text",
					isRequired: true,
					name: "是否办有医疗救助",
					title: {
						"zh-cn": "是否办有医疗救助"
					}
				},

				// 4
				{
					type: "text",
					isRequired: true,
					name: "吸烟史",
					title: "吸烟史          (吸烟：每日吸烟≥1支)"
				},

				{
					type: "text",
					isRequired: true,
					name: "烟龄",
					visibleIf: "{吸烟史} = \"有\"",
					title: "烟龄",
					inputType: "number",
					placeHolder: "年"
				},
				{
					type: "text",
					isRequired: true,
					name: "吸烟量",
					visibleIf: "{吸烟史} = \"有\"",
					title: "吸烟量",
					inputType: "number",
					placeHolder: "支/天"
				},
				{
					type: "text",
					isRequired: true,
					name: "目前是否戒烟",
					visibleIf: "{吸烟史} = \"有\"",
					title: "目前是否戒烟"
				},
				{
					type: "text",
					isRequired: true,
					name: "已戒烟多少年",
					visibleIf: "{目前是否戒烟} = \"是\" and {吸烟史} = \"有\"",
					title: "已戒烟多少年",
					inputType: "number",
					placeHolder: "年"
				},
				{
					type: "text",
					isRequired: true,
					name: "是否被动吸烟",
					title: {
						"zh-cn": "是否被动吸烟          (被动吸烟：指不吸烟者吸入吸烟者呼出的烟雾及卷烟燃烧产生的烟雾，也称为“非自愿吸烟”，或“吸二手烟”)"
					}
				},

				{
					type: "text",
					isRequired: true,
					name: "饮酒史",
					title: "饮酒史          (饮酒：每周饮酒≥1次，不管饮酒量多少)"
				},
				{
					type: "text",
					isRequired: true,
					name: "酒龄",
					visibleIf: "{饮酒史} = \"有\"",
					title: "酒龄",
					inputType: "number",
					placeHolder: "年"
				},



				{
					type: "text",
					isRequired: true,
					name: "饮酒种类（可多选）",
					visibleIf: "{饮酒史} = \"有\"",
					title: "饮酒种类（可多选）"
				},
				{
					type: "text",
					isRequired: true,
					name: "目前是否戒酒",
					visibleIf: "{饮酒史} = \"有\"",
					title: "目前是否戒酒"
				},
				{
					type: "text",
					isRequired: true,
					name: "已戒酒多少年",
					visibleIf: "{目前是否戒酒} = \"是\" and {饮酒史} = \"有\"",
					title: "已戒酒多少年",
					inputType: "number",
					placeHolder: "年"
				},

				{
					type: "text",
					name: "体力活动",
					title: "体力活动",
					isRequired: true,
				},
				{
					type: "text",
					isRequired: true,
					name: "晚上一般几点睡觉",
					title: {
						"zh-cn": "晚上一般几点睡觉"
					}
				},
				{
					type: "text",
					name: "晚上一般睡眠时长",
					isRequired: true,
					title: {
						"zh-cn": "晚上一般睡眠时长"
					}
				},

				{
					type: "text",
					isRequired: true,
					name: "膳食习惯（可多选）",
					title: {
						"zh-cn": "膳食习惯（可多选）"
					}
				},

				{
					type: "text",
					isRequired: true,
					name: "食用水产品（包括鱼、虾、贝类、海带等）的频率是",
					title: {
						"zh-cn": "食用水产品（包括鱼、虾、贝类、海带等）的频率是"
					}
				},


				{
					type: "text",
					isRequired: true,
					name: "食用蔬菜的频率是",
					title: {
						"zh-cn": "食用蔬菜的频率是"
					}
				},


				{
					type: "text",
					isRequired: true,
					name: "食用水果的频率是",
					title: {
						"zh-cn": "食用水果的频率是"
					},
				},


				{
					type: "text",
					isRequired: true,
					name: "食用奶及奶制品的频率是",
					title: {
						"zh-cn": "食用奶及奶制品的频率是"
					},
				},


				{
					type: "text",
					isRequired: true,
					name: "食用辣椒的频率是",
					title: {
						"zh-cn": "食用辣椒的频率是"
					},
				},

				{
					type: "text",
					isRequired: true,
					name: "食用熏制食品（包括熏肉、熏肝、熏鱼、熏蛋、熏豆腐干等）的频率是",
					title: {
						"zh-cn": "食用熏制食品（包括熏肉、熏肝、熏鱼、熏蛋、熏豆腐干等）的频率是"
					}
				},


				{
					type: "text",
					isRequired: true,
					name: "食用腌制食品（包括腌制蘑菇、腌制腊肉、腌制腊肠、腌制酸菜、腌制咸鱼、腌制草莓、腌制香菜心、腌制生姜等）的频率是",
					title: {
						"zh-cn": "食用腌制食品（包括腌制蘑菇、腌制腊肉、腌制腊肠、腌制酸菜、腌制咸鱼、腌制草莓、腌制香菜心、腌制生姜等）的频率是"
					}
				},

				{
					type: "text",
					isRequired: true,
					name: "您家庭使用的油为（可多选）",
					title: "您家庭使用的油为（可多选）"
				},
				// 有其他1
				{
					type: "text",
					isRequired: true,
					name: "您家庭使用的油为（可多选）-Comment",
					title: "您家庭使用的油为（other）",
					"visibleIf": "{您家庭使用的油为（可多选）} contains \"other\""
				},
				{
					type: "multipletext",
					name: "油1",
					title: {
						"zh-cn": "家庭用油量"
					},
					items: [{
							name: "家庭每月用油",
							placeHolder: {
								"zh-cn": "斤"
							},
							isRequired: true,
							"inputType": "number",
							title: {
								"zh-cn": "家庭每月用油"
							}
						},
						{
							name: "多少人食用",
							placeHolder: {
								"zh-cn": "人"
							},
							isRequired: true,
							"inputType": "number",
							title: {
								"zh-cn": "多少人食用"
							}
						},
					]
				},
				// {type:"text",isRequired: true,name:"抽样点编号",title:"抽样点编号",inputType:"number"},
				{
					type: "text",
					name: "抽样点编号",
					title: "抽样点编号",
					isRequired: true,
				},
				{
					"type": "text",
					"name": "标本编号",
					"title": {
						"zh-cn": "标本编号"
					},
					"isRequired": true,
				},

				{
					type: "panel",
					name: "panel1",
					elements: [{
							type: "text",
							isRequired: true,
							name: "是否有过脑梗死",
							title: {
								default: "发病以前是否有过脑卒中",
								"zh-cn": "是否有过脑梗死"
							}
						},
						{
							type: "text",
							isRequired: true,
							name: "首次脑梗死发病时间",
							visibleIf: "{是否有过脑梗死} = \"是\"",
							title: {
								"zh-cn": "首次脑梗死发病时间"
							},
							inputType: "date",
						},
						{
							type: "text",
							isRequired: true,
							name: "是否规律服用抗血小板聚集药物",
							visibleIf: "{是否有过脑梗死} = \"是\"",
							title: "是否规律服用抗血小板聚集药物"
						},
						{
							type: "text",
							isRequired: true,
							name: "抗血小板聚集药物类型",
							visibleIf: "{是否规律服用抗血小板聚集药物} = \"是\" and {是否有过脑梗死} = \"是\"",
							title: "药物类型（可多选）"
						},
					]
				},
				{
					type: "panel",
					name: "panel2",
					elements: [{
							type: "text",
							isRequired: true,
							name: "是否知道自己的血压",
							title: "是否知道自己的血压",
						},
						{
							type: "text",
							isRequired: true,
							name: "既往有无高血压病史",
							visibleIf: "{是否知道自己的血压} = \"是\"",
							title: "既往有无高血压病史         (高血压：既往明确诊断或收缩压≥140mmHg或舒张压≥90mmHg)"
						},


						{
							type: "text",
							isRequired: true,
							name: "高血压病史年限",
							visibleIf: "{既往有无高血压病史} = \"有\" and {是否知道自己的血压} = \"是\"",
							title: {
								"zh-cn": "高血压病史年限"
							},
							inputType: "number",
							placeHolder: {
								"zh-cn": "年"
							}
						},
						//	{type:"text",name:"最高血压",visibleIf:"{既往有无高血压病史} = \"有\"",title:{"zh-cn":"最高血压"},placeHolder:{"zh-cn":"_____/____mmHg"}},
						{
							type: "panel",
							name: "最高血压",
							title: "最高血压",
							visibleIf: "{既往有无高血压病史} = \"有\" and {是否知道自己的血压} = \"是\"",
							elements: [{
									type: "text",
									isRequired: true,
									name: "最高血压1",
									width: "100px",
									titleLocation: "hidden",
									inputType: "number"
								},
								{
									type: "text",
									isRequired: true,
									name: "question20",
									width: "70px",
									startWithNewLine: false,
									readOnly: true,
									titleLocation: "hidden",
									placeHolder: "/"
								},
								{
									type: "text",
									isRequired: true,
									name: "最高血压2",
									width: "100px",
									inputType: "number",
									startWithNewLine: false,
									titleLocation: "hidden"
								},
								{
									type: "text",
									isRequired: true,
									name: "question22",
									width: "100px",
									startWithNewLine: false,
									readOnly: true,
									titleLocation: "hidden",
									placeHolder: "mmHg"
								}
							]
						},
						{
							type: "text",
							isRequired: true,
							name: "是否规律测量血压",
							visibleIf: "{既往有无高血压病史} = \"有\" and {是否知道自己的血压} = \"是\"",
							title: "是否规律测量血压         (规律测量血压定义：高血压患者至少每周测量1次血压)"
						},
						{
							type: "panel",
							name: "血压控制范围",
							title: "血压控制范围：",
							visibleIf: "{是否规律测量血压} = \"是\" and {既往有无高血压病史} = \"有\"and {是否知道自己的血压} = \"是\"",
							elements: [{
									"type": "text",
									isRequired: true,
									"name": "血压控制范围1",
									"width": "200px",
									"titleLocation": "hidden",
								},
								{
									"type": "text",
									"name": "question2",
									"width": "70px",
									"startWithNewLine": false,
									"readOnly": true,
									"titleLocation": "hidden",
									"placeHolder": "/"
								},
								{
									"type": "text",
									isRequired: true,
									"name": "血压控制范围2",
									"width": "200px",
									"startWithNewLine": false,
									"titleLocation": "hidden",
								},
								{
									"type": "text",
									"name": "question2",
									"width": "100px",
									"startWithNewLine": false,
									"readOnly": true,
									"titleLocation": "hidden",
									"placeHolder": "mmHg"
								},

							],
						},

						{
							type: "text",
							isRequired: true,
							name: "是否规律服用降压药",
							visibleIf: "{既往有无高血压病史} = \"有\" and {是否知道自己的血压} = \"是\"",
							title: "是否规律服用降压药"
						}
					]
				},
				{
					type: "panel",
					name: "panel3",
					elements: [{
							type: "text",
							isRequired: true,
							name: "是否测量过血脂",
							title: {
								"zh-cn": "是否测量过血脂"
							}
						},
						{
							type: "text",
							isRequired: true,
							name: "血脂范围",
							visibleIf: "{是否测量过血脂} = \"是\"",
							title: "血脂范围"
						},
						{
							type: "text",
							isRequired: true,
							name: "是否规律服用调脂药",
							visibleIf: "{血脂范围} = \"偏高\" and {是否测量过血脂} = \"是\"",
							title: "是否规律服用调脂药",
						},
						{
							type: "text",
							isRequired: true,
							name: "调脂药物类型",
							visibleIf: "{是否规律服用调脂药} = \"是\" and {血脂范围} = \"偏高\" and {是否测量过血脂} = \"是\"",
							title: "药物类型"
						},
						{
							type: "text",
							isRequired: true,
							name: "目前血脂是否正常",
							visibleIf: "{血脂范围} = \"偏高\" and {是否测量过血脂} = \"是\"",
							title: "目前血脂是否正常"
						},
					]
				},

				{
					type: "panel",
					name: "panel4",
					elements: [{
							type: "text",
							isRequired: true,
							name: "以前是否测量血糖",
							title: "以前是否测量血糖"
						},
						{
							type: "text",
							isRequired: true,
							name: "血糖范围",
							visibleIf: "{以前是否测量血糖} = \"是\"",
							title: "血糖范围           (血糖偏高：空腹血糖≥7.0mmol/l；或餐后2小时血糖≥11.1mmol/l)"
						},

						{
							type: "text",
							isRequired: true,
							name: "是否规律监测血糖",
							visibleIf: "{血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							title: "是否规律监测血糖"
						},
						{
							type: "panel",
							name: "血糖控制范围",
							title: "血糖控制范围",
							visibleIf: "{是否规律监测血糖} = \"是\" and {血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							elements: [{

									type: "text",
									name: "血糖控制范围1",
									width: "100px",
									inputType: "number",
									isRequired: true,
									titleLocation: "hidden"
								},
								{
									type: "text",
									name: "question20",
									width: "70px",
									startWithNewLine: false,
									readOnly: true,
									titleLocation: "hidden",
									placeHolder: "~"
								},
								{
									type: "text",
									name: "血糖控制范围2",
									width: "100px",
									inputType: "number",
									isRequired: true,
									startWithNewLine: false,
									titleLocation: "hidden"
								},
								{
									type: "text",
									name: "question22",
									width: "100px",
									startWithNewLine: false,
									readOnly: true,
									titleLocation: "hidden",
									placeHolder: "mmol/l"
								}

							]
						},


						{
							type: "text",
							isRequired: true,
							name: "是否规律服用降糖药",
							visibleIf: "{血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							title: "是否规律服用降糖药"
						},
						{
							type: "text",
							isRequired: true,
							name: "是否使用胰岛素",
							visibleIf: "{血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							title: "是否使用胰岛素"
						},
						{
							type: "text",
							isRequired: true,
							name: "是否存在糖尿病慢性并发症",
							visibleIf: "{血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							title: "是否存在糖尿病慢性并发症"
						},
						{
							type: "text",
							isRequired: true,
							name: "何种并发症",
							visibleIf: "{是否存在糖尿病慢性并发症} = \"是\" and  {血糖范围} = \"偏高\" and {以前是否测量血糖} = \"是\"",
							title: {
								"zh-cn": "何种并发症（可多选）"
							}
						},
					],
				},
				{
					type: "panel",
					name: "panel5",
					elements: [{
							type: "text",
							isRequired: true,
							name: "心房颤动病史",
							title: "心房颤动病史           (心房颤动：心电图明确诊断)"
						},

						{
							type: "text",
							isRequired: true,
							name: "是否规律使用抗凝药物",
							visibleIf: "{心房颤动病史} = \"有\"",
							title: "是否规律使用抗凝药物"
						},
						{
							type: "text",
							isRequired: true,
							name: "使用时长1",
							visibleIf: "{是否规律使用抗凝药物} = \"是\" and {心房颤动病史} = \"有\"",
							inputType: "number",
							title: "使用时长",
							placeHolder: "年"
						},
						{
							type: "text",
							isRequired: true,
							name: "抗凝药物类型",
							visibleIf: "{是否规律使用抗凝药物} = \"是\" and {心房颤动病史} = \"有\"",
							title: "药物类型"
						},
						// 有其他2
						{
							type: "text",
							isRequired: true,
							name: "抗凝药物类型-Comment",
							visibleIf: "{抗凝药物类型} contains \"other\" and {是否规律使用抗凝药物} = \"是\" and {心房颤动病史} = \"有\"",
							title: "药物类型(other)"
						},

						{
							type: "text",
							isRequired: true,
							name: "是否定期监测凝血功能",
							visibleIf: "{心房颤动病史} = \"有\"",
							title: "是否定期监测凝血功能"
						}
					]
				},
				{
					type: "panel",
					name: "panel6",
					elements: [{
							type: "text",
							isRequired: true,
							name: "冠心病病史",
							title: "冠心病病史          (冠心病：既往在医院明确诊断有心肌梗死或心绞痛发作病史)"
						},

						{
							type: "text",
							isRequired: true,
							name: "是否规律服用药物",
							visibleIf: "{冠心病病史} = \"有\"",
							title: "是否规律服用药物",
						}
					],
				},
				{
					type: "text",
					isRequired: true,
					name: "长期服用其他药物史（可多选）",
					title: {
						"zh-cn": "长期服用其他药物史（可多选）"
					}
				},
				// 有其他3

				{
					type: "text",
					isRequired: true,
					name: "长期服用其他药物史（可多选）-Comment",
					title: {
						"zh-cn": "长期服用其他药物史（other）"
					},
					"visibleIf": "{长期服用其他药物史（可多选）} contains \"other\""
				},

				{
					"type": "matrixdynamic",
					"name": "长期服用药物的具体情况",
					"visibleIf": "{长期服用其他药物史（可多选）} <> [\"无\"]",
					"title": "药物具体情况",
					"columns": [{
							"name": "药物名称",
							"title": " 药物名称",
							"cellType": "text"
						},
						{
							"name": "服药时长",
							"title": " 服药时长",
							"cellType": "text"
						},
					]
				},



				{
					type: "text",
					isRequired: true,
					name: "夜间睡觉是否打呼噜",
					title: "夜间睡觉是否打呼噜"
				},


				{
					type: "text",
					isRequired: true,
					name: "戒烟教育",
					title: "戒烟教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "限酒教育",
					title: "限酒教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "控制体重教育",
					title: "控制体重教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "低盐饮食教育",
					title: "低盐饮食教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "低脂饮食教育",
					title: "低脂饮食教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "糖尿病健康教育",
					title: "糖尿病健康教育"
				},
				{
					type: "text",
					isRequired: true,
					name: "您是否接受过脑卒中（即中风）教育和/或以下材料（可多选）",
					title: {
						default: "您是否接受过卒中教育和/或以下材料（可多选）",
						"zh-cn": "您是否接受过脑卒中（即中风）教育和/或以下材料（可多选）"
					}
				},
				{
					type: "text",
					isRequired: true,
					name: "您获取上述信息的渠道（可多选）",
					title: "您获取上述信息的渠道（可多选）"
				},
				// 有其他4
				{
					type: "text",
					isRequired: true,
					name: "您获取上述信息的渠道（可多选）-Comment",
					title: "您获取上述信息的渠道（other）",
					"visibleIf": "{您获取上述信息的渠道（可多选）} contains \"other\""
				},


				{
					type: "text",
					isRequired: true,
					name: "收缩压",
					title: {
						"zh-cn": "收缩压（mmHg）"
					},
					inputType: "number",
					placeHolder: ""
				},
				{
					type: "text",
					isRequired: true,
					name: "舒张压",
					title: {
						"zh-cn": "舒张压（mmHg）"
					},
					inputType: "number",
					placeHolder: ""
				},
				{
					type: "text",
					isRequired: true,
					name: "心率",
					title: {
						"zh-cn": "心率（次/分）"
					},
					inputType: "number",
					placeHolder: ""
				},
				{
					type: "text",
					isRequired: true,
					name: "脉搏",
					title: {
						"zh-cn": "脉搏（次/分）"
					},
					inputType: "number",
					placeHolder: ""
				},
				{
					type: "multipletext",
					name: "血常规检测",
					title: "血常规检测（入院时）",
					items: [{
							name: "白细胞",
							isRequired: true,
							title: {
								"zh-cn": "白细胞(10^9/L)"
							}
						},
						{
							name: "中性粒细胞百分比",
							isRequired: true,
							title: "中性粒细胞百分比(%)"
						},
						{
							name: "中性粒细胞计数",
							isRequired: true,
							title: "中性粒细胞计数(10^9/L)"
						},
						{
							name: "淋巴细胞百分比",
							isRequired: true,
							title: "淋巴细胞百分比(%)"
						},
						{
							name: "淋巴细胞计数",
							isRequired: true,
							title: "淋巴细胞计数(10^9/L)"
						},
						{
							name: "红细胞",
							isRequired: true,
							title: "红细胞(10^12/L)"
						},
						{
							name: "血红蛋白",
							isRequired: true,
							title: "血红蛋白(g/L) "
						},
						{
							name: "血小板",
							isRequired: true,
							title: "血小板(10^9/L)"
						},
					],
					colCount: 2
				},

				{
					type: "multipletext",
					name: "血生化检测",
					title: "血生化检测（入院时）",
					items: [{
							name: "血生化检测-谷丙转氨酶",
							isRequired: true,
							title: {
								"zh-cn": "谷丙转氨酶(U/L)"
							}
						},
						{
							name: "血生化检测-谷草转氨酶",
							isRequired: true,
							title: "谷草转氨酶(U/L)"
						},
						{
							name: "血生化检测-白蛋白",
							isRequired: true,
							title: "白蛋白(g/L)"
						},
						{
							name: "血生化检测-球蛋白",
							isRequired: true,
							title: "球蛋白(g/L)"
						},
						{
							name: "血生化检测-血肌酐",
							isRequired: true,
							title: "血肌酐(umol/l)"
						},
						{
							name: "血生化检测-血尿素氮",
							isRequired: true,
							title: "血尿素氮(mmol/l)"
						},
						{
							name: "血生化检测-尿酸",
							isRequired: true,
							title: "尿酸(umol/l)"
						},
						{
							name: "血生化检测-同型半胱氨酸",
							isRequired: true,
							title: "同型半胱氨酸(umol/l)"
						},

						{
							name: "血生化检测-空腹血糖",
							isRequired: true,
							title: {
								"zh-cn": "空腹血糖(mmol/l)"
							}
						},
						{
							name: "血生化检测-糖化血红蛋白",
							isRequired: true,
							title: "糖化血红蛋白(%)"
						},
						{
							name: "血生化检测-甘油三酯",
							isRequired: true,
							title: "甘油三酯(mmol/l)"
						},
						{
							name: "血生化检测-胆固醇",
							isRequired: true,
							title: "胆固醇(mmol/l)"
						},
						{
							name: "血生化检测-高密度脂蛋白",
							isRequired: true,
							title: "高密度脂蛋白(mmol/l)"
						},
						{
							name: "血生化检测-低密度脂蛋白",
							isRequired: true,
							title: "低密度脂蛋白(mmol/l)"
						},
					],
					colCount: 2
				},
				{
					type: "multipletext",
					name: "凝血常规检测",
					title: "凝血常规检测（入院时）",
					items: [{
							name: "凝血常规检测-凝血酶原时间",
							isRequired: true,
							title: {
								"zh-cn": "凝血酶原时间(s)"
							}
						},
						{
							name: "凝血常规检测-国际标准化比值",
							isRequired: true,
							title: "国际标准化比值"
						},
						{
							name: "凝血常规检测-活化部分凝血活酶时间",
							isRequired: true,
							title: "活化部分凝血活酶时间(s)"
						},
						{
							name: "凝血常规检测-凝血酶时间",
							isRequired: true,
							itle: "凝血酶时间(s)"
						},
						{
							name: "凝血常规检测-纤维蛋白原",
							isRequired: true,
							title: "纤维蛋白原(g/l)"
						},
						{
							name: "凝血常规检测-D-二聚体",
							isRequired: true,
							title: "D-二聚体(mg/l)"
						},
						{
							name: "凝血常规检测-血浆纤溶酶原抗原测定",
							isRequired: true,
							title: "血浆纤溶酶原抗原测定(mg/l)"
						},
						{
							name: "凝血常规检测-血浆抗凝血酶III抗原测定",
							isRequired: true,
							title: "血浆抗凝血酶III抗原测定(mg/l)"
						},
					],
					colCount: 2
				},

				{
					type: "text",
					name: "心电图结果",
					isRequired: true,
					title: {
						"zh-cn": "心电图结果"
					}
				},

				{
					type: "text",
					name: "颈部血管彩超结果",
					isRequired: true,
					title: {
						"zh-cn": "颈部血管彩超结果"
					}
				},
				{
					type: "text",
					name: "头部CT/CTA结果：",
					isRequired: true,
					title: {
						"zh-cn": "头部CT/CTA结果："
					}
				},

				{
					type: "text",
					name: "调查员签字",
					isRequired: true,
					title: {
						"zh-cn": "调查员签字"
					}
				},
				{
					type: "text",
					name: "调查日期",
					isRequired: true,
					title: {
						"zh-cn": "调查日期"
					},
					inputType: "date"
				},



			]
		},

		// 							
	]
}
var survey = new Survey.Model(surveyJSON);
$("#surveyContainer").Survey({
	model: survey,
});

//该函数实现填一个判断一个，判断的是有范围的，比如说电话号码长度
survey.checkErrorsMode = "onValueChanged";

//需要添加的是此部分，获取json即可
var surveyData = $("#surveyData").text();
survey.data = JSON.parse(surveyData);
survey.mode = "display"; //make the survey readonly